/*
 * @Author: fisher
 * @Date: 2022-12-18 11:31:34
 * @LastEditTime: 2022-12-23 21:51:22
 * @LastEditors: your name
 * @Description:
 * @FilePath: /vite-vue-ts-h5/src/i18n/index.ts
 * 可以输入预定的版权声明、个性签名、空行等
 */
import { createI18n } from 'vue-i18n'
import zh from './zh.json'
import en from './en.json'

export default createI18n({
  legacy: false,
  locale: 'zh',
  fallbackLocale: 'zh',
  messages: {
    zh,
    en
  }
})
